<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: syslog4cj.server.impl.AbstractSyslogServer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacesyslog4cj.html">syslog4cj</a></li><li class="navelem"><a class="el" href="namespacesyslog4cj_1_1server.html">server</a></li><li class="navelem"><a class="el" href="namespacesyslog4cj_1_1server_1_1impl.html">impl</a></li><li class="navelem"><a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServer.html">AbstractSyslogServer</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServer-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">syslog4cj.server.impl.AbstractSyslogServer Class Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for syslog4cj.server.impl.AbstractSyslogServer:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServer.png" usemap="#syslog4cj.server.impl.AbstractSyslogServer_map" alt=""/>
  <map id="syslog4cj.server.impl.AbstractSyslogServer_map" name="syslog4cj.server.impl.AbstractSyslogServer_map">
<area href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html" alt="syslog4cj.server.common.SyslogServerIF" shape="rect" coords="151,0,444,24"/>
<area href="classsyslog4cj_1_1server_1_1impl_1_1net_1_1TCPNetSyslogServer.html" alt="syslog4cj.server.impl.net.TCPNetSyslogServer" shape="rect" coords="0,112,293,136"/>
<area href="classsyslog4cj_1_1server_1_1impl_1_1net_1_1UDPNetSyslogServer.html" alt="syslog4cj.server.impl.net.UDPNetSyslogServer" shape="rect" coords="303,112,596,136"/>
<area href="classsyslog4cj_1_1server_1_1impl_1_1net_1_1TlsTCPNetSyslogServer.html" alt="syslog4cj.server.impl.net.TlsTCPNetSyslogServer" shape="rect" coords="0,168,293,192"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa0b20280559a27674222875755e42185"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServer.html#aa0b20280559a27674222875755e42185">initialize</a> (String protocol, <a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html">SyslogServerConfigIF</a> config):Unit</td></tr>
<tr class="separator:aa0b20280559a27674222875755e42185"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b08213ffc74aad29c5f3019df56c9d6"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServer.html#a2b08213ffc74aad29c5f3019df56c9d6">getProtocol</a> ():String</td></tr>
<tr class="separator:a2b08213ffc74aad29c5f3019df56c9d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a864b95a6f9e2bac1c9475cc00af63f71"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServer.html#a864b95a6f9e2bac1c9475cc00af63f71">getConfig</a> ():?<a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html">SyslogServerConfigIF</a></td></tr>
<tr class="separator:a864b95a6f9e2bac1c9475cc00af63f71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a592d68cdc8775fdfae27e1bda0d0a2c5"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServer.html#a592d68cdc8775fdfae27e1bda0d0a2c5">initialize</a> ():Unit</td></tr>
<tr class="separator:a592d68cdc8775fdfae27e1bda0d0a2c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ed97f84e27a62bee1a3d4f07d5ca624"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServer.html#a5ed97f84e27a62bee1a3d4f07d5ca624">shutdown</a> ():Unit</td></tr>
<tr class="separator:a5ed97f84e27a62bee1a3d4f07d5ca624"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44a43097f9093cf54236a98b0e5b6fa1"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServer.html#a44a43097f9093cf54236a98b0e5b6fa1">getThread</a> ()</td></tr>
<tr class="separator:a44a43097f9093cf54236a98b0e5b6fa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0596eeac360870d076b066c6f99934d"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServer.html#ad0596eeac360870d076b066c6f99934d">setThread</a> (Future&lt; Unit &gt; thread):Unit</td></tr>
<tr class="separator:ad0596eeac360870d076b066c6f99934d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4068aaee86667a8cea5c01e291dd3df1"><td class="memItemLeft" align="right" valign="top">public static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServer.html#a4068aaee86667a8cea5c01e291dd3df1">handleInitialize</a> (<a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html">SyslogServerIF</a> syslogServer):Unit</td></tr>
<tr class="separator:a4068aaee86667a8cea5c01e291dd3df1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa717e83d03f1cb5c5b80e79ba9f6fb84"><td class="memItemLeft" align="right" valign="top">public static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServer.html#aa717e83d03f1cb5c5b80e79ba9f6fb84">handleDestroy</a> (<a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html">SyslogServerIF</a> syslogServer)</td></tr>
<tr class="separator:aa717e83d03f1cb5c5b80e79ba9f6fb84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fe020e9f823c9dabb289449f5e8c483"><td class="memItemLeft" align="right" valign="top">public static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServer.html#a3fe020e9f823c9dabb289449f5e8c483">handleSessionOpen</a> (<a class="el" href="classsyslog4cj_1_1server_1_1common_1_1Session.html">Session</a> session, <a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html">SyslogServerIF</a> syslogServer, SocketAddress remote)</td></tr>
<tr class="separator:a3fe020e9f823c9dabb289449f5e8c483"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af63259ef0ceaf41df0858f1bcbf59865"><td class="memItemLeft" align="right" valign="top">public static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServer.html#af63259ef0ceaf41df0858f1bcbf59865">handleSessionClosed</a> (<a class="el" href="classsyslog4cj_1_1server_1_1common_1_1Session.html">Session</a> session, <a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html">SyslogServerIF</a> syslogServer, SocketAddress remote, Bool timeout)</td></tr>
<tr class="separator:af63259ef0ceaf41df0858f1bcbf59865"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ff2e93c1272c6a1c0006a4cbc727be9"><td class="memItemLeft" align="right" valign="top">public static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServer.html#a2ff2e93c1272c6a1c0006a4cbc727be9">handleEvent</a> (?<a class="el" href="classsyslog4cj_1_1server_1_1common_1_1Session.html">Session</a> session, <a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html">SyslogServerIF</a> syslogServer, SocketAddress remote, <a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerEventIF.html">SyslogServerEventIF</a> event)</td></tr>
<tr class="separator:a2ff2e93c1272c6a1c0006a4cbc727be9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31274dd71b2b04cb231ecc6b44968554"><td class="memItemLeft" align="right" valign="top">public static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServer.html#a31274dd71b2b04cb231ecc6b44968554">handleException</a> (?<a class="el" href="classsyslog4cj_1_1server_1_1common_1_1Session.html">Session</a> session, <a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html">SyslogServerIF</a> syslogServer, ?SocketAddress remote, Exception exception)</td></tr>
<tr class="separator:a31274dd71b2b04cb231ecc6b44968554"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html">syslog4cj.server.common.SyslogServerIF</a></td></tr>
<tr class="memitem:aa575b67f77ac328d65df02674549d484 inherit pub_methods_interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html#aa575b67f77ac328d65df02674549d484">initialize</a> (String protocol, <a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html">SyslogServerConfigIF</a> config):Unit</td></tr>
<tr class="separator:aa575b67f77ac328d65df02674549d484 inherit pub_methods_interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1e8d1cae21af6a94f2e501d04dcc7fd inherit pub_methods_interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html#ad1e8d1cae21af6a94f2e501d04dcc7fd">getProtocol</a> ():String</td></tr>
<tr class="separator:ad1e8d1cae21af6a94f2e501d04dcc7fd inherit pub_methods_interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a381595e9ef3d87fde4d5a8d7976191d3 inherit pub_methods_interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html#a381595e9ef3d87fde4d5a8d7976191d3">getConfig</a> ():?<a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html">SyslogServerConfigIF</a></td></tr>
<tr class="separator:a381595e9ef3d87fde4d5a8d7976191d3 inherit pub_methods_interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abef1015f737de707a15f704ae3696393 inherit pub_methods_interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html#abef1015f737de707a15f704ae3696393">run</a> ():Unit</td></tr>
<tr class="separator:abef1015f737de707a15f704ae3696393 inherit pub_methods_interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81dc07f78c38c92ff753449f589d0028 inherit pub_methods_interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html#a81dc07f78c38c92ff753449f589d0028">getThread</a> ():?Future&lt; Unit &gt;</td></tr>
<tr class="separator:a81dc07f78c38c92ff753449f589d0028 inherit pub_methods_interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80845d0a2446e21ced62596c3b022d19 inherit pub_methods_interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html#a80845d0a2446e21ced62596c3b022d19">setThread</a> (Future&lt; Unit &gt; thread):Unit</td></tr>
<tr class="separator:a80845d0a2446e21ced62596c3b022d19 inherit pub_methods_interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba24ed1c90873ace1dc270d389d07e49 inherit pub_methods_interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html#aba24ed1c90873ace1dc270d389d07e49">shutdown</a> ():Unit</td></tr>
<tr class="separator:aba24ed1c90873ace1dc270d389d07e49 inherit pub_methods_interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:aa87b3b5ca20fa3fab59a715cab41075d"><td class="memItemLeft" align="right" valign="top">protected static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServer.html#aa87b3b5ca20fa3fab59a715cab41075d">isStructuredMessage</a> (Array&lt; Byte &gt; receiveData):Bool</td></tr>
<tr class="separator:aa87b3b5ca20fa3fab59a715cab41075d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f21d99759e015edf846f4a08079032b"><td class="memItemLeft" align="right" valign="top">protected static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServer.html#a6f21d99759e015edf846f4a08079032b">isStructuredMessage</a> (String receiveData):Bool</td></tr>
<tr class="separator:a6f21d99759e015edf846f4a08079032b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c03daa5f533e2c69235edeb0155adf3"><td class="memItemLeft" align="right" valign="top">protected static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServer.html#a1c03daa5f533e2c69235edeb0155adf3">createEvent</a> (<a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html">SyslogServerConfigIF</a> serverConfig, Array&lt; Byte &gt; lineBytes, Int64 lineBytesLength, SocketAddress inetAddr):<a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerEventIF.html">SyslogServerEventIF</a></td></tr>
<tr class="separator:a1c03daa5f533e2c69235edeb0155adf3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0d525476d76ff2d09d4156e3eca015a"><td class="memItemLeft" align="right" valign="top">protected static func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServer.html#ad0d525476d76ff2d09d4156e3eca015a">createEvent</a> (<a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html">SyslogServerConfigIF</a> serverConfig, String line, SocketAddress inetAddr):<a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerEventIF.html">SyslogServerEventIF</a></td></tr>
<tr class="separator:ad0d525476d76ff2d09d4156e3eca015a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a3b65b275f30fc8f3bbf5ffb07e369563"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServer.html#a3b65b275f30fc8f3bbf5ffb07e369563">var syslogProtocol</a> : String = String.empty</td></tr>
<tr class="separator:a3b65b275f30fc8f3bbf5ffb07e369563"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9382919d97120a4accc618d8b4086d94"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServer.html#a9382919d97120a4accc618d8b4086d94">var syslogServerConfig</a> : ?<a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html">SyslogServerConfigIF</a> = None</td></tr>
<tr class="separator:a9382919d97120a4accc618d8b4086d94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c801359f18c28b00fc39ccd1883b06e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServer.html#a2c801359f18c28b00fc39ccd1883b06e">var thread</a> : ?Future&lt;Unit&gt; = None</td></tr>
<tr class="separator:a2c801359f18c28b00fc39ccd1883b06e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adeac759074d2cc559738a9de9d012642"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServer.html#adeac759074d2cc559738a9de9d012642">var _shutdown</a> : Bool = false</td></tr>
<tr class="separator:adeac759074d2cc559738a9de9d012642"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>抽象 Syslog 服务器基类 </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a1c03daa5f533e2c69235edeb0155adf3" name="a1c03daa5f533e2c69235edeb0155adf3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1c03daa5f533e2c69235edeb0155adf3">&#9670;&#160;</a></span>createEvent() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">protected static func syslog4cj.server.impl.AbstractSyslogServer.createEvent </td>
          <td>(</td>
          <td class="paramname"><em>serverConfig</em>:&#160;</td>
          <td class="paramtype">SyslogServerConfigIF, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>lineBytes</em>:&#160;</td>
          <td class="paramtype">Array&lt;Byte&gt;, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>lineBytesLength</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>inetAddr</em>:&#160;</td>
          <td class="paramtype">SocketAddress&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: <a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerEventIF.html">SyslogServerEventIF</a> </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建事件对象（字节数组）</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">serverConfig</td><td>服务器配置 </td></tr>
    <tr><td class="paramname">lineBytes</td><td>原始字节数组 </td></tr>
    <tr><td class="paramname">lineBytesLength</td><td>有效数据长度 </td></tr>
    <tr><td class="paramname">inetAddr</td><td>来源地址 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>创建的事件对象 </dd></dl>

</div>
</div>
<a id="ad0d525476d76ff2d09d4156e3eca015a" name="ad0d525476d76ff2d09d4156e3eca015a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0d525476d76ff2d09d4156e3eca015a">&#9670;&#160;</a></span>createEvent() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">protected static func syslog4cj.server.impl.AbstractSyslogServer.createEvent </td>
          <td>(</td>
          <td class="paramname"><em>serverConfig</em>:&#160;</td>
          <td class="paramtype">SyslogServerConfigIF, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>line</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>inetAddr</em>:&#160;</td>
          <td class="paramtype">SocketAddress&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: <a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerEventIF.html">SyslogServerEventIF</a> </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建事件对象（字符串）</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">serverConfig</td><td>服务器配置 </td></tr>
    <tr><td class="paramname">line</td><td>消息字符串 </td></tr>
    <tr><td class="paramname">inetAddr</td><td>来源地址 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>创建的事件对象 </dd></dl>

</div>
</div>
<a id="a864b95a6f9e2bac1c9475cc00af63f71" name="a864b95a6f9e2bac1c9475cc00af63f71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a864b95a6f9e2bac1c9475cc00af63f71">&#9670;&#160;</a></span>getConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func syslog4cj.server.impl.AbstractSyslogServer.getConfig </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: ?<a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html">SyslogServerConfigIF</a> </td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取服务器配置</p>
<dl class="section return"><dt>Returns</dt><dd>配置对象（可能为空） </dd></dl>

<p>Implements <a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html#a381595e9ef3d87fde4d5a8d7976191d3">syslog4cj.server.common.SyslogServerIF</a>.</p>

</div>
</div>
<a id="a2b08213ffc74aad29c5f3019df56c9d6" name="a2b08213ffc74aad29c5f3019df56c9d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b08213ffc74aad29c5f3019df56c9d6">&#9670;&#160;</a></span>getProtocol()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func syslog4cj.server.impl.AbstractSyslogServer.getProtocol </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: String </td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取协议标识</p>
<dl class="section return"><dt>Returns</dt><dd>协议标识字符串 </dd></dl>

<p>Implements <a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html#ad1e8d1cae21af6a94f2e501d04dcc7fd">syslog4cj.server.common.SyslogServerIF</a>.</p>

</div>
</div>
<a id="a44a43097f9093cf54236a98b0e5b6fa1" name="a44a43097f9093cf54236a98b0e5b6fa1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44a43097f9093cf54236a98b0e5b6fa1">&#9670;&#160;</a></span>getThread()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func syslog4cj.server.impl.AbstractSyslogServer.getThread </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取服务器线程</p>
<dl class="section return"><dt>Returns</dt><dd>线程 Future 对象 </dd></dl>

<p>Implements <a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html#a81dc07f78c38c92ff753449f589d0028">syslog4cj.server.common.SyslogServerIF</a>.</p>

</div>
</div>
<a id="aa717e83d03f1cb5c5b80e79ba9f6fb84" name="aa717e83d03f1cb5c5b80e79ba9f6fb84"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa717e83d03f1cb5c5b80e79ba9f6fb84">&#9670;&#160;</a></span>handleDestroy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public static func syslog4cj.server.impl.AbstractSyslogServer.handleDestroy </td>
          <td>(</td>
          <td class="paramname"><em>syslogServer</em>:&#160;</td>
          <td class="paramtype">SyslogServerIF</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>处理服务器销毁事件</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">syslogServer</td><td>服务器实例 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a2ff2e93c1272c6a1c0006a4cbc727be9" name="a2ff2e93c1272c6a1c0006a4cbc727be9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ff2e93c1272c6a1c0006a4cbc727be9">&#9670;&#160;</a></span>handleEvent()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public static func syslog4cj.server.impl.AbstractSyslogServer.handleEvent </td>
          <td>(</td>
          <td class="paramname"><em>session</em>:&#160;</td>
          <td class="paramtype">?Session, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>syslogServer</em>:&#160;</td>
          <td class="paramtype">SyslogServerIF, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>remote</em>:&#160;</td>
          <td class="paramtype">SocketAddress, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>event</em>:&#160;</td>
          <td class="paramtype">SyslogServerEventIF&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>处理日志事件</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">session</td><td>会话对象（可选） </td></tr>
    <tr><td class="paramname">syslogServer</td><td>服务器实例 </td></tr>
    <tr><td class="paramname">remote</td><td>远程地址 </td></tr>
    <tr><td class="paramname">event</td><td>日志事件 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a31274dd71b2b04cb231ecc6b44968554" name="a31274dd71b2b04cb231ecc6b44968554"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31274dd71b2b04cb231ecc6b44968554">&#9670;&#160;</a></span>handleException()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public static func syslog4cj.server.impl.AbstractSyslogServer.handleException </td>
          <td>(</td>
          <td class="paramname"><em>session</em>:&#160;</td>
          <td class="paramtype">?Session, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>syslogServer</em>:&#160;</td>
          <td class="paramtype">SyslogServerIF, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>remote</em>:&#160;</td>
          <td class="paramtype">?SocketAddress, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>exception</em>:&#160;</td>
          <td class="paramtype">Exception&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>处理异常事件</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">session</td><td>会话对象（可选） </td></tr>
    <tr><td class="paramname">syslogServer</td><td>服务器实例 </td></tr>
    <tr><td class="paramname">remote</td><td>远程地址（可选） </td></tr>
    <tr><td class="paramname">exception</td><td>异常对象 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4068aaee86667a8cea5c01e291dd3df1" name="a4068aaee86667a8cea5c01e291dd3df1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4068aaee86667a8cea5c01e291dd3df1">&#9670;&#160;</a></span>handleInitialize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public static func syslog4cj.server.impl.AbstractSyslogServer.handleInitialize </td>
          <td>(</td>
          <td class="paramname"><em>syslogServer</em>:&#160;</td>
          <td class="paramtype">SyslogServerIF</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">
<p>处理服务器初始化事件</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">syslogServer</td><td>服务器实例 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="af63259ef0ceaf41df0858f1bcbf59865" name="af63259ef0ceaf41df0858f1bcbf59865"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af63259ef0ceaf41df0858f1bcbf59865">&#9670;&#160;</a></span>handleSessionClosed()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public static func syslog4cj.server.impl.AbstractSyslogServer.handleSessionClosed </td>
          <td>(</td>
          <td class="paramname"><em>session</em>:&#160;</td>
          <td class="paramtype">Session, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>syslogServer</em>:&#160;</td>
          <td class="paramtype">SyslogServerIF, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>remote</em>:&#160;</td>
          <td class="paramtype">SocketAddress, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>timeout</em>:&#160;</td>
          <td class="paramtype">Bool&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>处理会话关闭事件</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">session</td><td>会话对象 </td></tr>
    <tr><td class="paramname">syslogServer</td><td>服务器实例 </td></tr>
    <tr><td class="paramname">remote</td><td>远程地址 </td></tr>
    <tr><td class="paramname">timeout</td><td>是否因超时关闭 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a3fe020e9f823c9dabb289449f5e8c483" name="a3fe020e9f823c9dabb289449f5e8c483"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3fe020e9f823c9dabb289449f5e8c483">&#9670;&#160;</a></span>handleSessionOpen()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public static func syslog4cj.server.impl.AbstractSyslogServer.handleSessionOpen </td>
          <td>(</td>
          <td class="paramname"><em>session</em>:&#160;</td>
          <td class="paramtype">Session, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>syslogServer</em>:&#160;</td>
          <td class="paramtype">SyslogServerIF, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>remote</em>:&#160;</td>
          <td class="paramtype">SocketAddress&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>处理会话打开事件</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">session</td><td>会话对象 </td></tr>
    <tr><td class="paramname">syslogServer</td><td>服务器实例 </td></tr>
    <tr><td class="paramname">remote</td><td>远程地址 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a592d68cdc8775fdfae27e1bda0d0a2c5" name="a592d68cdc8775fdfae27e1bda0d0a2c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a592d68cdc8775fdfae27e1bda0d0a2c5">&#9670;&#160;</a></span>initialize() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func syslog4cj.server.impl.AbstractSyslogServer.initialize </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Unit</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>服务器初始化抽象方法</p>
<dl class="section note"><dt>Note</dt><dd>子类必须实现具体初始化逻辑 </dd></dl>

</div>
</div>
<a id="aa0b20280559a27674222875755e42185" name="aa0b20280559a27674222875755e42185"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0b20280559a27674222875755e42185">&#9670;&#160;</a></span>initialize() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func syslog4cj.server.impl.AbstractSyslogServer.initialize </td>
          <td>(</td>
          <td class="paramname"><em>protocol</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>config</em>:&#160;</td>
          <td class="paramtype">SyslogServerConfigIF&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">
<p>初始化服务器</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">protocol</td><td>协议标识 </td></tr>
    <tr><td class="paramname">config</td><td>服务器配置 </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html#aa575b67f77ac328d65df02674549d484">syslog4cj.server.common.SyslogServerIF</a>.</p>

</div>
</div>
<a id="aa87b3b5ca20fa3fab59a715cab41075d" name="aa87b3b5ca20fa3fab59a715cab41075d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa87b3b5ca20fa3fab59a715cab41075d">&#9670;&#160;</a></span>isStructuredMessage() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">protected static func syslog4cj.server.impl.AbstractSyslogServer.isStructuredMessage </td>
          <td>(</td>
          <td class="paramname"><em>receiveData</em>:&#160;</td>
          <td class="paramtype">Array&lt;Byte&gt;</td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>检查是否为结构化消息（字节数组）</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">receiveData</td><td>接收到的字节数组 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true=符合结构化消息格式 </dd></dl>

</div>
</div>
<a id="a6f21d99759e015edf846f4a08079032b" name="a6f21d99759e015edf846f4a08079032b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f21d99759e015edf846f4a08079032b">&#9670;&#160;</a></span>isStructuredMessage() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">protected static func syslog4cj.server.impl.AbstractSyslogServer.isStructuredMessage </td>
          <td>(</td>
          <td class="paramname"><em>receiveData</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>检查是否为结构化消息（字符串）</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">receiveData</td><td>接收到的字符串 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true=符合结构化消息格式 </dd></dl>

</div>
</div>
<a id="ad0596eeac360870d076b066c6f99934d" name="ad0596eeac360870d076b066c6f99934d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0596eeac360870d076b066c6f99934d">&#9670;&#160;</a></span>setThread()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func syslog4cj.server.impl.AbstractSyslogServer.setThread </td>
          <td>(</td>
          <td class="paramname"><em>thread</em>:&#160;</td>
          <td class="paramtype">Future&lt;Unit&gt;</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置服务器线程</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">thread</td><td>新的线程 Future 对象 </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html#a80845d0a2446e21ced62596c3b022d19">syslog4cj.server.common.SyslogServerIF</a>.</p>

</div>
</div>
<a id="a5ed97f84e27a62bee1a3d4f07d5ca624" name="a5ed97f84e27a62bee1a3d4f07d5ca624"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ed97f84e27a62bee1a3d4f07d5ca624">&#9670;&#160;</a></span>shutdown()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public open func syslog4cj.server.impl.AbstractSyslogServer.shutdown </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">
<p>关闭服务器</p>
<dl class="section note"><dt>Note</dt><dd>设置关闭标志，具体关闭逻辑在 run() 方法中实现 </dd></dl>

<p>Implements <a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html#aba24ed1c90873ace1dc270d389d07e49">syslog4cj.server.common.SyslogServerIF</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="adeac759074d2cc559738a9de9d012642" name="adeac759074d2cc559738a9de9d012642"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adeac759074d2cc559738a9de9d012642">&#9670;&#160;</a></span>var _shutdown</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">syslog4cj.server.impl.AbstractSyslogServer.var _shutdown : Bool = false</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>关闭标志 </p>

</div>
</div>
<a id="a3b65b275f30fc8f3bbf5ffb07e369563" name="a3b65b275f30fc8f3bbf5ffb07e369563"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b65b275f30fc8f3bbf5ffb07e369563">&#9670;&#160;</a></span>var syslogProtocol</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">syslog4cj.server.impl.AbstractSyslogServer.var syslogProtocol : String = String.empty</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>服务器协议标识（如 "UDP", "TCP", "TLS"） </p>

</div>
</div>
<a id="a9382919d97120a4accc618d8b4086d94" name="a9382919d97120a4accc618d8b4086d94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9382919d97120a4accc618d8b4086d94">&#9670;&#160;</a></span>var syslogServerConfig</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">syslog4cj.server.impl.AbstractSyslogServer.var syslogServerConfig : ?<a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html">SyslogServerConfigIF</a> = None</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>服务器配置 </p>

</div>
</div>
<a id="a2c801359f18c28b00fc39ccd1883b06e" name="a2c801359f18c28b00fc39ccd1883b06e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c801359f18c28b00fc39ccd1883b06e">&#9670;&#160;</a></span>var thread</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">syslog4cj.server.impl.AbstractSyslogServer.var thread : ?Future&lt;Unit&gt; = None</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>服务器线程 </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/server/impl/<a class="el" href="abstract__syslog__server_8cj.html">abstract_syslog_server.cj</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6
</small></address>
</body>
</html>
